package com.love.marriage.userVirtualCallConfigInfo.mapper;

import com.love.marriage.userVirtualCallConfigInfo.entity.UserVirtualCallConfigInfo;
import com.love.marriage.userVirtualCallConfigInfo.vo.UserVirtualCallConfigInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.love.marriage.common.interfaces.permission.DataPermission;

/**
 * description:  用户接收虚拟通话配置表 mapper
 * author:       alex
 * createDate:   2024-11-19 07:32:04
 * version:      1.0.0
 */
@Mapper
public interface UserVirtualCallConfigInfoMapper extends BaseMapper<UserVirtualCallConfigInfo> {

    @DataPermission(table = "user_virtual_call_config_info_t")
    Page<UserVirtualCallConfigInfoVo> getPage(Page<UserVirtualCallConfigInfoVo> page, @Param("userVirtualCallConfigInfoVo") UserVirtualCallConfigInfoVo userVirtualCallConfigInfoVo);

    UserVirtualCallConfigInfoVo queryUserVirtualCallConfigInfo(@Param("id") Long id);

    UserVirtualCallConfigInfoVo queryUserVirtualCallConfigInfoByUserId(@Param("userId") Long userId);
}
